package com.example.aircraft.prop;


import com.example.aircraft.aircraft.HeroAircraft;

public class Prop_Blood extends AbstractProp {
    public Prop_Blood(int locationX, int locationY, int speedY){
        super(locationX, locationY, 0, speedY);
    }
    @Override
    public void activate(){
        super.activate();
        if(!HeroAircraft.newInstance().notValid()){
        HeroAircraft.newInstance().decreaseHp(-30);}
    }
}
